package teleradiologia.service;

import teleradiologia.domain.Radlabmanager;
import teleradiologia.repository.RadlabmanagerDao;

public class RadlabmanagerManipulatorImpl implements RadlabmanagerManipulator {
	private RadlabmanagerDao radlabmanagerDao;
	
	@Override
	public String create(Radlabmanager radlabmanager) {
		return this.radlabmanagerDao.create(radlabmanager);
	}

	@Override
	public void delete(Radlabmanager radlabmanager) {
		this.radlabmanagerDao.delete(radlabmanager);
	}

	@Override
	public Radlabmanager getByNip(String nip) {
		return this.radlabmanagerDao.getByNip(nip);
	}

	@Override
	public void setRadlabmanagerDao(RadlabmanagerDao radlabmanagerDao) {
		this.radlabmanagerDao = radlabmanagerDao;
	}

	@Override
	public void update(Radlabmanager radlabmanager) {
		this.radlabmanagerDao.update(radlabmanager);
	}

	@Override
	public Radlabmanager getByIdPerson(long idPerson) {
		return this.radlabmanagerDao.getByIdPerson(idPerson);
	}

	@Override
	public Radlabmanager getByKrsnumber(String krsnumber) {
		return this.radlabmanagerDao.getByKrsnumber(krsnumber);
	}
}
